<!DOCTYPE HTML>
<html lang="zh-CN">


<head>
    <meta charset="utf-8">
    <meta name="keywords" content="面试题, 博客，hexo，live2d，html， css， js， node， vue，">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-stand|ie-comp">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <!-- Global site tag (gtag.js) - Google Analytics -->


    <title>面试题 | codeHose9</title>
    <link rel="icon" type="image/png" href="/blog/favicon.png">

    <link rel="stylesheet" type="text/css" href="/blog/libs/awesome/css/all.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/my.css">

    <script src="/blog/libs/jquery/jquery.min.js"></script>

<meta name="generator" content="Hexo 4.2.1"><link rel="alternate" href="/blog/atom.xml" title="codeHose9" type="application/atom+xml">
<link rel="stylesheet" href="/blog/css/prism-tomorrow.css" type="text/css">
<link rel="stylesheet" href="/blog/css/prism-line-numbers.css" type="text/css"></head>


<body>
    <header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/blog/" class="waves-effect waves-light">
                    
                    <img src="/blog/medias/logo.png" class="logo-img" alt="LOGO">
                    
                    <span class="logo-span">codeHose9</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fas fa-bars"></i></a>
<ul class="right nav-menu">
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/" class="waves-effect waves-light">
      
      <i class="fas fa-home" style="zoom: 0.6;"></i>
      
      <span>首页</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/tags" class="waves-effect waves-light">
      
      <i class="fas fa-tags" style="zoom: 0.6;"></i>
      
      <span>标签</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/categories" class="waves-effect waves-light">
      
      <i class="fas fa-bookmark" style="zoom: 0.6;"></i>
      
      <span>分类</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/archives" class="waves-effect waves-light">
      
      <i class="fas fa-archive" style="zoom: 0.6;"></i>
      
      <span>归档</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/about" class="waves-effect waves-light">
      
      <i class="fas fa-user-circle" style="zoom: 0.6;"></i>
      
      <span>关于</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/contact" class="waves-effect waves-light">
      
      <i class="fas fa-comments" style="zoom: 0.6;"></i>
      
      <span>留言板</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/friends" class="waves-effect waves-light">
      
      <i class="fas fa-address-book" style="zoom: 0.6;"></i>
      
      <span>友情链接</span>
    </a>
    
  </li>
  
  <li>
    <a href="#searchModal" class="modal-trigger waves-effect waves-light">
      <i id="searchIcon" class="fas fa-search" title="搜索" style="zoom: 0.85;"></i>
    </a>
  </li>
</ul>


<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
        <img src="/blog/medias/logo.png" class="logo-img circle responsive-img">
        
        <div class="logo-name">codeHose9</div>
        <div class="logo-desc">
            
            Never really desperate, only the lost of the soul.
            
        </div>
    </div>

    

    <ul class="menu-list mobile-menu-list">
        
        <li class="m-nav-item">
	  
		<a href="/blog/" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-home"></i>
			
			首页
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/tags" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-tags"></i>
			
			标签
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/categories" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-bookmark"></i>
			
			分类
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/archives" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-archive"></i>
			
			归档
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/about" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-user-circle"></i>
			
			关于
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/contact" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-comments"></i>
			
			留言板
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/friends" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-address-book"></i>
			
			友情链接
		</a>
          
        </li>
        
        
        <li><div class="divider"></div></li>
        <li>
            <a href="https://github.com/blinkfox/hexo-theme-matery" class="waves-effect waves-light" target="_blank">
                <i class="fab fa-github-square fa-fw"></i>matery
            </a>
        </li>
        
    </ul>
</div>


        </div>

        
            <style>
    .nav-transparent .github-corner {
        display: none !important;
    }

    .github-corner {
        position: absolute;
        z-index: 10;
        top: 0;
        right: 0;
        border: 0;
        transform: scale(1.1);
    }

    .github-corner svg {
        color: #0f9d58;
        fill: #fff;
        height: 64px;
        width: 64px;
    }

    .github-corner:hover .octo-arm {
        animation: a 0.56s ease-in-out;
    }

    .github-corner .octo-arm {
        animation: none;
    }

    @keyframes a {
        0%,
        to {
            transform: rotate(0);
        }
        20%,
        60% {
            transform: rotate(-25deg);
        }
        40%,
        80% {
            transform: rotate(10deg);
        }
    }
</style>

<a href="https://github.com/blinkfox/hexo-theme-matery" class="github-corner tooltipped hide-on-med-and-down" target="_blank"
   data-tooltip="matery" data-position="left" data-delay="50">
    <svg viewBox="0 0 250 250" aria-hidden="true">
        <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
        <path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
              fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
        <path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
              fill="currentColor" class="octo-body"></path>
    </svg>
</a>
        
    </nav>

</header>

    



<div class="bg-cover pd-header post-cover" style="background-image: url('/blog/medias/featureimages/5.jpg')">
    <div class="container" style="right: 0px;left: 0px;">
        <div class="row">
            <div class="col s12 m12 l12">
                <div class="brand">
                    <h1 class="description center-align post-title">面试题</h1>
                </div>
            </div>
        </div>
    </div>
</div>




<main class="post-container content">

    
    <link rel="stylesheet" href="/blog/libs/tocbot/tocbot.css">
<style>
    #articleContent h1::before,
    #articleContent h2::before,
    #articleContent h3::before,
    #articleContent h4::before,
    #articleContent h5::before,
    #articleContent h6::before {
        display: block;
        content: " ";
        height: 100px;
        margin-top: -100px;
        visibility: hidden;
    }

    #articleContent :focus {
        outline: none;
    }

    .toc-fixed {
        position: fixed;
        top: 64px;
    }

    .toc-widget {
        width: 345px;
        padding-left: 20px;
    }

    .toc-widget .toc-title {
        margin: 35px 0 15px 0;
        padding-left: 17px;
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 1.5rem;
    }

    .toc-widget ol {
        padding: 0;
        list-style: none;
    }

    #toc-content {
        height: calc(100vh - 250px);
        overflow: auto;
    }

    #toc-content ol {
        padding-left: 10px;
    }

    #toc-content ol li {
        padding-left: 10px;
    }

    #toc-content .toc-link:hover {
        color: #42b983;
        font-weight: 700;
        text-decoration: underline;
    }

    #toc-content .toc-link::before {
        background-color: transparent;
        max-height: 25px;

        position: absolute;
        right: 23.5vw;
        display: block;
    }

    #toc-content .is-active-link {
        color: #42b983;
    }

    #floating-toc-btn {
        position: fixed;
        right: 15px;
        bottom: 76px;
        padding-top: 15px;
        margin-bottom: 0;
        z-index: 998;
    }

    #floating-toc-btn .btn-floating {
        width: 48px;
        height: 48px;
    }

    #floating-toc-btn .btn-floating i {
        line-height: 48px;
        font-size: 1.4rem;
    }
</style>
<div class="row">
    <div id="main-content" class="col s12 m12 l9">
        <!-- 文章内容详情 -->
<div id="artDetail">
    <div class="card">
        <div class="card-content article-info">
            <div class="row tag-cate">
                <div class="col s7">
                    
                    <div class="article-tag">
                        
                            <a href="/blog/tags/html/">
                                <span class="chip bg-color">html</span>
                            </a>
                        
                    </div>
                    
                </div>
                <div class="col s5 right-align">
                    
                </div>
            </div>

            <div class="post-info">
                
                <div class="post-date info-break-policy">
                    <i class="far fa-calendar-minus fa-fw"></i>发布日期:&nbsp;&nbsp;
                    2020-10-13
                </div>
                

                
                <div class="post-date info-break-policy">
                    <i class="far fa-calendar-check fa-fw"></i>更新日期:&nbsp;&nbsp;
                    2021-05-13
                </div>
                

                
                <div class="info-break-policy">
                    <i class="far fa-file-word fa-fw"></i>文章字数:&nbsp;&nbsp;
                    3k
                </div>
                

                
                <div class="info-break-policy">
                    <i class="far fa-clock fa-fw"></i>阅读时长:&nbsp;&nbsp;
                    11 分
                </div>
                

                
                    <div id="busuanzi_container_page_pv" class="info-break-policy">
                        <i class="far fa-eye fa-fw"></i>阅读次数:&nbsp;&nbsp;
                        <span id="busuanzi_value_page_pv"></span>
                    </div>
				
            </div>
        </div>
        <hr class="clearfix">
        <div class="card-content article-card-content">
            <div id="articleContent">
                <h2 id="一-单选题"><a href="#一-单选题" class="headerlink" title="一. 单选题"></a>一. 单选题</h2><ol>
<li><p>以下哪个是H5不再支持的视频文件格式( D )<br>A. webm<br>B. ogg<br>C. MPEG4<br>D. avi</p>
</li>
<li><p>哪种输入类型定义滑块控( D )<br>A. search<br>B. controls<br>C. slider<br>D. range</p>
</li>
<li><h3 id="lt-table-rules-cols-gt-表示-C"><a href="#lt-table-rules-cols-gt-表示-C" class="headerlink" title="<table rules=cols>,表示(C)"></a>&lt;table rules=cols&gt;,表示(C)</h3><p>A. 显示所有分割线:  rules=all</p>
<p>B. 只显示组(Groups) 与组之间的分割线：rules:groups</p>
<p>C. 显示列与列之间的线条：rules: cols</p>
<p>D. 显示行与行之间的线条：rules:rows</p>
</li>
<li><h3 id="如何把7-25四舍五入为最接近的整数-B"><a href="#如何把7-25四舍五入为最接近的整数-B" class="headerlink" title="如何把7.25四舍五入为最接近的整数( B )"></a>如何把7.25四舍五入为最接近的整数( B )</h3><p>A. Math.ran(7.25) ：貌似只有Math.random()产生随机数</p>
<p>B. Math.round(7.25)：四首五入 Math.round(7.25, 2) 后面的2表示保留的位数</p>
<p>C. Rnd(7.25) ：Rnd函数好像是VBScript中产生随机数的</p>
<p>D. Round(7.25)：round函数是属于Math的</p>
</li>
<li><h3 id="css3背景属性background-size的哪个值既不会被裁切也不会变形-B"><a href="#css3背景属性background-size的哪个值既不会被裁切也不会变形-B" class="headerlink" title="css3背景属性background-size的哪个值既不会被裁切也不会变形( B )"></a>css3背景属性background-size的哪个值既不会被裁切也不会变形( B )</h3><p>A. cover 覆盖掉背景区域，背景图片的默些区域可能无法显示在背景区域</p>
<p>B. contain：把图像图像扩展至最大尺寸，以使其宽度和高度完全适应内容区域。</p>
<p>C. 100% auto</p>
<p>D. 100% 100%</p>
</li>
<li><p>在jquery中想要找到所有元素的同辈元素，下面哪个是可以实现的( C )</p>
<p>A. eq() 按照索引返回元素</p>
<p>B. find()  查找指定的所有后代</p>
<p>C. siblings() 查找当前元素的所有同辈元素</p>
<p>D. next() 查找当前元素的下一个兄弟元素</p>
<pre><code>扩展：</code></pre><p>​    nextAll() 查找当前元素的下面所有元素</p>
<p>​    nextUtil() 查找当前元素下面的所有元素知道指定的结束元素</p>
</li>
<li><h3 id="要想使列表高度自适应，应该在CSS里添加下列哪个属性？-D"><a href="#要想使列表高度自适应，应该在CSS里添加下列哪个属性？-D" class="headerlink" title="要想使列表高度自适应，应该在CSS里添加下列哪个属性？( D )"></a>要想使列表高度自适应，应该在CSS里添加下列哪个属性？( D )</h3><p>A. margin</p>
<p>B. float</p>
<p>C. display</p>
<p>D. overflow</p>
</li>
<li><h3 id="以下哪个单词不属于javascript保留字-A"><a href="#以下哪个单词不属于javascript保留字-A" class="headerlink" title="以下哪个单词不属于javascript保留字( A )"></a>以下哪个单词不属于javascript保留字( A )</h3><p>A. parent</p>
<p>B. class</p>
<p>C. void  空值</p>
<p>D. with</p>
</li>
<li><h3 id="Web安全色所能够显示的颜色种类为-A"><a href="#Web安全色所能够显示的颜色种类为-A" class="headerlink" title="Web安全色所能够显示的颜色种类为( A )"></a>Web安全色所能够显示的颜色种类为( A )</h3><p>A. 216色</p>
<p>B. 256色</p>
<p>C. 千万种颜色</p>
<p>D. 1500种色</p>
</li>
<li><h3 id="哪一个对象可以获取屏幕的宽度-B"><a href="#哪一个对象可以获取屏幕的宽度-B" class="headerlink" title="哪一个对象可以获取屏幕的宽度( B )"></a>哪一个对象可以获取屏幕的宽度( B )</h3><p>A. window</p>
<p>B. screen</p>
<p>C. navigator</p>
<p>D.client</p>
</li>
<li><h3 id="请选择结果为真的表达式-C"><a href="#请选择结果为真的表达式-C" class="headerlink" title="请选择结果为真的表达式( C )"></a>请选择结果为真的表达式( C )</h3><p>A. null instaceof Object ： null不属于任何类型</p>
<p>B. null === undefined ：类型不同，null：object; undefined还是undefined</p>
<p>C. null == undefined </p>
<p>D. NaN == NaN ：NaN是一个不确定的字符串</p>
</li>
<li><p>在jQuery中被誉为工厂函数的是( C )</p>
<p>A. ready()</p>
<p>B. function()</p>
<p>C. $()</p>
<p>D. next()</p>
</li>
<li><p>CSS Sprites技术是指( C )</p>
<p>A.  把多张图片文件合并</p>
<p>B. 把背景图片变成图片</p>
<p>C. 把多张背景图片合并成一张背景图片</p>
<p>D. 把多张背景图片合并成一个背景图片</p>
<p>解析：CSS Sprites(精灵图/雪碧图) 是把多张小的背景图片合并成一张大的背景图片，减少网络请求的次数，提高响应速度</p>
</li>
<li><p>open()方法的哪个外观参数可以设置是否显示滚动条？(C)</p>
<p>A.  location ：是否显示地址字段</p>
<p>B. menubar ：是否显示菜单栏</p>
<p>C. scrollbars ：是否显示滚动条</p>
<p>Toolbar ：是否显示浏览器工具栏</p>
</li>
<li><p>有一个submit按钮，在这个按钮控件上添加哪个事件不起作用？( D )</p>
<p>A. onmouseout</p>
<p>B. onmouseover</p>
<p>C. onclick</p>
<p>D. onsubmit</p>
<p>解析：onsubmit事件定义在submit按钮上是无效的(执行机制的影响下) 需要定义在form表单中</p>
</li>
<li><p>在HTML中，( )用来表示特殊字符引号( C )</p>
<p>A. &amp;reg ：注册表信息文件</p>
<p>B. &amp;copy  ：商标</p>
<p>C. &amp;quot ：引号</p>
<p>D. &amp;nbsp：空格</p>
</li>
<li><p>从当前selection移除range对象使用的方法是(C)</p>
<p>A. addRange(range)</p>
<p>B. removeAllRanges()</p>
<p>C. removeRange(range)</p>
<p>D. getRangeAt(index)</p>
<p>解析：一个Range对象代表页面上的一段连续区域var range = document.createRange(); 每一个浏览器窗口都有一个Selection对象，代表用户鼠标在页面中所选取的区域var selection = document.getSelection();每一个Selection对象都有一个或多个Range对象</p>
</li>
<li><p>请选出不属于<font>标记属性的一项( B )</font></p>
<p>A. size 设置字体大小</p>
<p>B. align 没有</p>
<p>C. color 字体颜色</p>
<p>D. face 设置什么字体</p>
</li>
<li><p>flex-grow的作用是(D)</p>
<p>A. 弹性盒子元素对齐方式 </p>
<p>B. 弹性盒子元素的排列方式</p>
<p>C. 弹性盒子的显示次序：box-ordinal-group</p>
<p>D. 弹性盒子元素如何分配剩余空间</p>
<p>解析：剩余空间：父宽度-子总宽度，如果超出失效</p>
</li>
<li><p>下面哪个javascript变量名称不合法(D)</p>
<p>A. string</p>
<p>B. length</p>
<p>C. 非法字符</p>
<p>D. this</p>
</li>
<li><p>在HTML中，下列有关邮箱的链接书写正确的是(B)</p>
<p>A. &lt;A href=”telnet:<a href="mailto:zhangming@aptech.com">zhangming@aptech.com</a>“&gt;发送邮寄&lt;/A&gt;</p>
<p>B. &lt;A href=”mail:<a href="mailto:zhangming@aptech.com">zhangming@aptech.com</a>“&gt;发送邮寄&lt;/A&gt;</p>
<p>C. &lt;A href=”ftp:<a href="mailto:zhangming@aptech.com">zhangming@aptech.com</a>“&gt;发送邮寄&lt;/A&gt;</p>
<p>D.  &lt;A href=”mailto:<a href="mailto:zhangming@aptech.com">zhangming@aptech.com</a>“&gt;发送邮寄&lt;/A&gt;</p>
</li>
<li><h3 id="关于样式的优先级说法正确的是-D"><a href="#关于样式的优先级说法正确的是-D" class="headerlink" title="关于样式的优先级说法正确的是( D )"></a>关于样式的优先级说法正确的是( D )</h3><p>A. 内联样式&gt; !important</p>
<p>B. 内部样式 &gt; 外部样式 &gt; !important</p>
<p>C. !important &gt; 内联样式 &gt; 内部样式 &gt; 外部样式 (内部样式 和外部样式需要看书写的位置)</p>
<p>D. 以上都不对 </p>
</li>
<li><h3 id="当表单中的“提交”按钮被图片代替后，并且图片还具备“提交”按钮同样的功能，该如-何编写这样的表单提交？-A"><a href="#当表单中的“提交”按钮被图片代替后，并且图片还具备“提交”按钮同样的功能，该如-何编写这样的表单提交？-A" class="headerlink" title="当表单中的“提交”按钮被图片代替后，并且图片还具备“提交”按钮同样的功能，该如 何编写这样的表单提交？( A )"></a>当表单中的“提交”按钮被图片代替后，并且图片还具备“提交”按钮同样的功能，该如 何编写这样的表单提交？( A )</h3><p>A. 在图片上添加onclick事件</p>
<p>B. 在图片上添加onsubmit事件</p>
<p>C. 在事件中手动提交</p>
<p>D. 在事件中自动提交</p>
<p>解析：onsubmit事件只有在表单中才有效果</p>
</li>
<li><h3 id="String对象的哪个方法可以寻找子字符串并返回该子字符串？-A"><a href="#String对象的哪个方法可以寻找子字符串并返回该子字符串？-A" class="headerlink" title="String对象的哪个方法可以寻找子字符串并返回该子字符串？( A )"></a>String对象的哪个方法可以寻找子字符串并返回该子字符串？( A )</h3><p>A. match() ：match(matchValue, regexp) 方法可在字符串内检索指定的值，或找到一个或多个正则表达式的匹配。</p>
<p>B. indexOf() 根据字符串返回索引</p>
<p>C. search()用于检索字符串中指定的子字符串，或检索与正则表达式相匹配的子字符串。search() 方法不执行全局匹配，它将忽略标志 g。它同时忽略 regexp 的 lastIndex 属性，并且总是从字符串的开始进行检索，这意味着它总是返回 stringObject 的第一个匹配的位置。</p>
<p>D. concat() 连接字符串</p>
</li>
<li><h3 id="以下哪个不是javascript的全局函数-D"><a href="#以下哪个不是javascript的全局函数-D" class="headerlink" title="以下哪个不是javascript的全局函数( D )"></a>以下哪个不是javascript的全局函数( D )</h3><p>A. escape ：对字符串进行编码</p>
<p>B. parseFloat</p>
<p>C. eval ：计算javascript字符串，并把它作为脚本代码来执行</p>
<p>D. setTimeOut</p>
</li>
<li><p>selection 对象的哪个方法直接将用户选取的终点移到起点( D )</p>
<p>A. selection.collapse() ：收起当前选区到一个点</p>
<p>B. selection.containsNode() 判断指定的节点是否包含在selection中</p>
<p>C. selection.collapseToEnd()将用户选取的起点移动到终点</p>
<p>D. selection.collapseToStart()将用户选取的终点移动到起点</p>
</li>
<li><p>以下说法不正确的是( A )</p>
<p>A. HTML5标准还在制定中</p>
<p>B. HTML5兼容以前HTML4下浏览器</p>
<p>C. &lt;canvas&gt;标签代替Flash</p>
<p>D. 简化的语法</p>
</li>
<li><h3 id="在下列CSS语言中（A）适用对象是“所有对象”"><a href="#在下列CSS语言中（A）适用对象是“所有对象”" class="headerlink" title="在下列CSS语言中（A）适用对象是“所有对象”"></a>在下列CSS语言中（A）适用对象是“所有对象”</h3><p>A. 背景附件</p>
<p>B. 文本排列</p>
<p>C. 纵向排列</p>
<p>D. 文本缩进</p>
</li>
<li><h3 id="在HTML中，以下能够实现表格跨列-A"><a href="#在HTML中，以下能够实现表格跨列-A" class="headerlink" title="在HTML中，以下能够实现表格跨列( A )"></a>在HTML中，以下能够实现表格跨列( A )</h3><p>A. colspan属性</p>
<p>B. rowspan属性</p>
<p>C. colspan标签</p>
<p>D. rowspan标签</p>
</li>
</ol>
<h2 id="二-多选题"><a href="#二-多选题" class="headerlink" title="二. 多选题"></a>二. 多选题</h2><ol>
<li><p>WEB标准包括( ABC )</p>
<p>A. 结构标准</p>
<p>B. 表现标准</p>
<p>C. 行为标准</p>
<p>D. 内容标准</p>
</li>
<li><h3 id="以下哪些元素默认带有边框-AC"><a href="#以下哪些元素默认带有边框-AC" class="headerlink" title="以下哪些元素默认带有边框( AC )"></a>以下哪些元素默认带有边框( AC )</h3><p>A. fieldset 将表单内相关元素进行分组，默认有边框</p>
<p>B. table 默认没有边框</p>
<p>C. input</p>
<p>D. td 默认没有边框(但好像table中的一些属性会导致有边框)</p>
</li>
<li><h3 id="下列属性值属于清除浮动clear的是-ABCD"><a href="#下列属性值属于清除浮动clear的是-ABCD" class="headerlink" title="下列属性值属于清除浮动clear的是( ABCD )"></a>下列属性值属于清除浮动clear的是( ABCD )</h3><p>A. left 清除左侧浮动</p>
<p>B. right 清除右侧浮动</p>
<p>C both 清除两侧浮动</p>
<p>D. none 不清除浮动</p>
</li>
<li><h3 id="下面哪几种是属于jquery文档处理的？-ABCD"><a href="#下面哪几种是属于jquery文档处理的？-ABCD" class="headerlink" title="下面哪几种是属于jquery文档处理的？ ( ABCD )"></a>下面哪几种是属于jquery文档处理的？ ( ABCD )</h3><p>A. 包裹</p>
<p>​    扩展： </p>
<p>​        a.wrap(b)  b包裹一个a</p>
<p>​        a.wrapAll(b) b包裹所有的a</p>
<p>​        a.wrapInner(b) a包裹b的标签体</p>
<p>​        a.unwrap([b]) 删除a的所有父级元素(指定则删除指定父级元素)</p>
<p>B . 删除 remove() empty() detach()</p>
<p>C. 替换 replaceWith()  replaceAll()</p>
<p>D. 内部和外部插入 append() appendTo() prepend() prependTo() after()  insertAfter()  before() insertBefore()</p>
</li>
<li><h3 id="以下关于video说法正确的是：-BD"><a href="#以下关于video说法正确的是：-BD" class="headerlink" title="以下关于video说法正确的是：( BD )"></a>以下关于video说法正确的是：( BD )</h3><p>A. 当前video元素支持三种视频格式，其中WebM = 带有thedora视频编码和Vorbis音频编码的WebM文件   </p>
</li>
</ol>
<ol start="6">
<li><p>复合选择器有哪些(A)</p>
<p>A. 派生选择器 ：层级选择器</p>
<p>B. 分组选择器：选择器之间用逗号隔开</p>
<p>C. 类选择器</p>
<p>D. ID选择器</p>
<p>解析：复合选择器是由两个或多个基础选择器，通过不同的方式组合而成的,目的是为了可以选择更准确更精细的目标元素标签。</p>
</li>
<li><p>下面情况中，哪些会发生margin属性的叠加 (ABCD)</p>
<p>A. 元素的顶边界与前面元素的底边界发生叠加</p>
<p>B. 元素的顶边界与父元素的顶边界发生叠加</p>
<p>C. 元素的顶边界与底边界发生叠加</p>
<p>D. 空元素中已经叠加的边界与另一个空元素的边界发生叠加</p>
</li>
<li><p>下列标签既是行内属性标签(行内元素)又可以设宽高的标签是？(CD)</p>
<p>A.  var</p>
<p>B. table</p>
<p>C. input</p>
<p>D. img</p>
<p>E. form</p>
<p>解析：本题要的是行内块状元素。table,form是块状元素，var应该是行内元素不可以设置宽高</p>
</li>
<li><p>javascript中，下列表达式结果为true的是( BCD )</p>
<p>A. [] == []</p>
<p>B. ![] == false</p>
<p>C. [] == false</p>
<p>D. [0] == false</p>
<p>解析：[]是一个地址，地址是不同的</p>
</li>
<li><p>下列选项中属于 jQuery 属性选择器的是(A)</p>
<p>A. $(‘img[src $= “.gif”]’)</p>
<p>B. $(“img”)</p>
<p>C. $(“class”)</p>
<p>D. $(“div&gt;span”)</p>
</li>
<li><p>循环语句”for(var i=0 ,j=10;i=j=10; i++,j-);” 的循环次数是(D)</p>
<p>A. 0</p>
<p>B. 1</p>
<p>C. 10</p>
<p>D. 无限次</p>
<p>解析：i=j=10因为true进入了死循环</p>
</li>
<li><p>对于Internet Explorer浏览器，可以使用（）标记将声音添加到网页上(AB)</p>
<p>A. &lt;bgsound&gt;添加背景音乐</p>
<p>B. &lt;embed&gt;可插入视频文件也可插入音频文件</p>
<p>C. &lt;sound&gt;</p>
<p>D. &lt;embedsound&gt;</p>
</li>
<li><h3 id="行内元素转为块级元素的方法有-ABC"><a href="#行内元素转为块级元素的方法有-ABC" class="headerlink" title="行内元素转为块级元素的方法有( ABC)"></a>行内元素转为块级元素的方法有( ABC)</h3><p>A. display = “block”</p>
<p>B. float</p>
<p>C. position(absolute 和 fixed)</p>
<p>D. fix</p>
<p>解析：行内块状元素也是块状元素</p>
</li>
<li><h3 id="javascript中-关于parseInt-说法正确的是：-AB"><a href="#javascript中-关于parseInt-说法正确的是：-AB" class="headerlink" title="javascript中,关于parseInt()说法正确的是：(AB)"></a>javascript中,关于parseInt()说法正确的是：(AB)</h3><p>A. 将其他类型的数据转换为数值</p>
<p>B. 可以将其他进制的数转换为十进制</p>
<p>C. parseInt()与Number() 方法功能相同</p>
<p>D. 以上说法都对</p>
</li>
<li><h3 id="下列哪些属性可以设置表格table水平对齐或垂直对齐-BD"><a href="#下列哪些属性可以设置表格table水平对齐或垂直对齐-BD" class="headerlink" title="下列哪些属性可以设置表格table水平对齐或垂直对齐( BD )"></a>下列哪些属性可以设置表格table水平对齐或垂直对齐( BD )</h3><p>A. cellspacing</p>
<p>B. align</p>
<p>C. colspan</p>
<p>D. valign</p>
</li>
<li><h3 id="以下哪些CSS属性可以继承？-ABC"><a href="#以下哪些CSS属性可以继承？-ABC" class="headerlink" title="以下哪些CSS属性可以继承？(ABC)"></a>以下哪些CSS属性可以继承？(ABC)</h3><p>A. text-</p>
<p>B. line-</p>
<p>C. font-</p>
<p>D. background-</p>
</li>
<li><h3 id="下列关于比较Ajax与Flash的优缺点，相关描述正确的是？-ABCD"><a href="#下列关于比较Ajax与Flash的优缺点，相关描述正确的是？-ABCD" class="headerlink" title="下列关于比较Ajax与Flash的优缺点，相关描述正确的是？(ABCD)"></a>下列关于比较Ajax与Flash的优缺点，相关描述正确的是？(ABCD)</h3><p>A.Ajax的优势在意在于开放性，易用性及易于开发</p>
<p>B.Flash的优势在于多媒体处理，可以更容易的调用浏览器以外的外部资源</p>
<p>C.Ajax最主要的批评就是它可能破坏浏览器的后退功能</p>
<p>D.flash 文件经常会很大，用户第一次使用的时候需要忍耐较长的等待时间</p>
</li>
</ol>
<h2 id="四-判断题"><a href="#四-判断题" class="headerlink" title="四. 判断题"></a>四. 判断题</h2><ol>
<li><p>传统事件触发，只能经过冒泡阶段，不能捕获阶段 ( 错误 ) ：都是有事件冒泡和事件捕获的</p>
</li>
<li><p>如需定义元素内容与边框的空间，可使用padding属性，并可使用负值(错误) ：不能设置负值</p>
</li>
<li><p>margin-top与padding-top对行内元素都起作用(错) margin-top,padding-top是没有效果的，margin-left, padding-left 是有效果的</p>
</li>
<li><p>在javascript中,this都指向调用者(错)  b不一定，理论上是</p>
</li>
<li><h3 id="在一个网页中一个Id可以用很多次-错-：在HTML中是不可以重复定义的，在js，jq中是可以重复获取的"><a href="#在一个网页中一个Id可以用很多次-错-：在HTML中是不可以重复定义的，在js，jq中是可以重复获取的" class="headerlink" title="在一个网页中一个Id可以用很多次(错) ：在HTML中是不可以重复定义的，在js，jq中是可以重复获取的"></a>在一个网页中一个Id可以用很多次(错) ：在HTML中是不可以重复定义的，在js，jq中是可以重复获取的</h3></li>
<li><p>两端对齐是align=”justify”吗？(对)</p>
</li>
<li><h3 id="jQuery中addClass-方法-可以来设置和获取-样式-对-添加和删除类，类中有样式"><a href="#jQuery中addClass-方法-可以来设置和获取-样式-对-添加和删除类，类中有样式" class="headerlink" title="jQuery中addClass()方法 可以来设置和获取 样式(对) 添加和删除类，类中有样式"></a>jQuery中addClass()方法 可以来设置和获取 样式(对) 添加和删除类，类中有样式</h3></li>
</ol>
<script>
        document.querySelectorAll('.github-emoji')
          .forEach(el => {
            if (!el.dataset.src) { return; }
            const img = document.createElement('img');
            img.style = 'display:none !important;';
            img.src = el.dataset.src;
            img.addEventListener('error', () => {
              img.remove();
              el.style.color = 'inherit';
              el.style.backgroundImage = 'none';
              el.style.background = 'none';
            });
            img.addEventListener('load', () => {
              img.remove();
            });
            document.body.appendChild(img);
          });
      </script>
            </div>
            <hr/>

            

    <div class="reprint" id="reprint-statement">
        
            <div class="reprint__author">
                <span class="reprint-meta" style="font-weight: bold;">
                    <i class="fas fa-user">
                        文章作者:
                    </i>
                </span>
                <span class="reprint-info">
                    <a href="/blog/about" rel="external nofollow noreferrer">LanHuiYan</a>
                </span>
            </div>
            <div class="reprint__type">
                <span class="reprint-meta" style="font-weight: bold;">
                    <i class="fas fa-link">
                        文章链接:
                    </i>
                </span>
                <span class="reprint-info">
                    <a href="http://codehouse9.gitee.io/blog/6715.html">http://codehouse9.gitee.io/blog/6715.html</a>
                </span>
            </div>
            <div class="reprint__notice">
                <span class="reprint-meta" style="font-weight: bold;">
                    <i class="fas fa-copyright">
                        版权声明:
                    </i>
                </span>
                <span class="reprint-info">
                    本博客所有文章除特別声明外，均采用
                    <a href="https://creativecommons.org/licenses/by/4.0/deed.zh" rel="external nofollow noreferrer" target="_blank">CC BY 4.0</a>
                    许可协议。转载请注明来源
                    <a href="/blog/about" target="_blank">LanHuiYan</a>
                    !
                </span>
            </div>
        
    </div>

    <script async defer>
      document.addEventListener("copy", function (e) {
        let toastHTML = '<span>复制成功，请遵循本文的转载规则</span><button class="btn-flat toast-action" onclick="navToReprintStatement()" style="font-size: smaller">查看</a>';
        M.toast({html: toastHTML})
      });

      function navToReprintStatement() {
        $("html, body").animate({scrollTop: $("#reprint-statement").offset().top - 80}, 800);
      }
    </script>



            <div class="tag_share" style="display: block;">
                <div class="post-meta__tag-list" style="display: inline-block;">
                    
                        <div class="article-tag">
                            
                                <a href="/blog/tags/html/">
                                    <span class="chip bg-color">html</span>
                                </a>
                            
                        </div>
                    
                </div>
                <div class="post_share" style="zoom: 80%; width: fit-content; display: inline-block; float: right; margin: -0.15rem 0;">
                    <link rel="stylesheet" type="text/css" href="/blog/libs/share/css/share.min.css">
<div id="article-share">

    
    <div class="social-share" data-sites="twitter,facebook,google,qq,qzone,wechat,weibo,douban" data-wechat-qrcode-helper="<p>微信扫一扫即可分享！</p>"></div>
    <script src="/blog/libs/share/js/social-share.min.js"></script>
    

    

</div>

                </div>
            </div>
            
                <style>
    #reward {
        margin: 40px 0;
        text-align: center;
    }

    #reward .reward-link {
        font-size: 1.4rem;
        line-height: 38px;
    }

    #reward .btn-floating:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    #rewardModal {
        width: 320px;
        height: 350px;
    }

    #rewardModal .reward-title {
        margin: 15px auto;
        padding-bottom: 5px;
    }

    #rewardModal .modal-content {
        padding: 10px;
    }

    #rewardModal .close {
        position: absolute;
        right: 15px;
        top: 15px;
        color: rgba(0, 0, 0, 0.5);
        font-size: 1.3rem;
        line-height: 20px;
        cursor: pointer;
    }

    #rewardModal .close:hover {
        color: #ef5350;
        transform: scale(1.3);
        -moz-transform:scale(1.3);
        -webkit-transform:scale(1.3);
        -o-transform:scale(1.3);
    }

    #rewardModal .reward-tabs {
        margin: 0 auto;
        width: 210px;
    }

    .reward-tabs .tabs {
        height: 38px;
        margin: 10px auto;
        padding-left: 0;
    }

    .reward-content ul {
        padding-left: 0 !important;
    }

    .reward-tabs .tabs .tab {
        height: 38px;
        line-height: 38px;
    }

    .reward-tabs .tab a {
        color: #fff;
        background-color: #ccc;
    }

    .reward-tabs .tab a:hover {
        background-color: #ccc;
        color: #fff;
    }

    .reward-tabs .wechat-tab .active {
        color: #fff !important;
        background-color: #22AB38 !important;
    }

    .reward-tabs .alipay-tab .active {
        color: #fff !important;
        background-color: #019FE8 !important;
    }

    .reward-tabs .reward-img {
        width: 210px;
        height: 210px;
    }
</style>

<div id="reward">
    <a href="#rewardModal" class="reward-link modal-trigger btn-floating btn-medium waves-effect waves-light red">赏</a>

    <!-- Modal Structure -->
    <div id="rewardModal" class="modal">
        <div class="modal-content">
            <a class="close modal-close"><i class="fas fa-times"></i></a>
            <h4 class="reward-title">你的赏识是我前进的动力</h4>
            <div class="reward-content">
                <div class="reward-tabs">
                    <ul class="tabs row">
                        <li class="tab col s6 alipay-tab waves-effect waves-light"><a href="#alipay">支付宝</a></li>
                        <li class="tab col s6 wechat-tab waves-effect waves-light"><a href="#wechat">微 信</a></li>
                    </ul>
                    <div id="alipay">
                        <img src="/blog/medias/reward/alipay.jpg" class="reward-img" alt="支付宝打赏二维码">
                    </div>
                    <div id="wechat">
                        <img src="/blog/medias/reward/wechat.jpg" class="reward-img" alt="微信打赏二维码">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    $(function () {
        $('.tabs').tabs();
    });
</script>

            
        </div>
    </div>

    

    

    

    

    

    

    

<article id="prenext-posts" class="prev-next articles">
    <div class="row article-row">
        
        <div class="article col s12 m6" data-aos="fade-up">
            <div class="article-badge left-badge text-color">
                <i class="fas fa-chevron-left"></i>&nbsp;上一篇</div>
            <div class="card">
                <a href="/blog/6715.html">
                    <div class="card-image">
                        
                        
                        <img src="/blog/medias/featureimages/5.jpg" class="responsive-img" alt="1+x初级试题">
                        
                        <span class="card-title">1+x初级试题</span>
                    </div>
                </a>
                <div class="card-content article-content">
                    <div class="summary block-with-text">
                        
                            window电脑常用快捷键
创建新的工作区： Ctrl + window + D
切换工作区：Ctrl + window + 左右箭头 / 四指左右滑动
切换运用：Alt + Tab / 三指左右滑动
桌面和运用之间切换：window + 
                        
                    </div>
                    <div class="publish-info">
                        <span class="publish-date">
                            <i class="far fa-clock fa-fw icon-date"></i>2020-10-13
                        </span>
                        <span class="publish-author">
                            
                            <i class="fas fa-user fa-fw"></i>
                            LanHuiYan
                            
                        </span>
                    </div>
                </div>
                
                <div class="card-action article-tags">
                    
                    <a href="/blog/tags/%E5%BF%AB%E6%8D%B7%E9%94%AE/">
                        <span class="chip bg-color">快捷键</span>
                    </a>
                    
                </div>
                
            </div>
        </div>
        
        
        <div class="article col s12 m6" data-aos="fade-up">
            <div class="article-badge right-badge text-color">
                下一篇&nbsp;<i class="fas fa-chevron-right"></i>
            </div>
            <div class="card">
                <a href="/blog/e076.html">
                    <div class="card-image">
                        
                        
                        <img src="/blog/medias/featureimages/0.jpg" class="responsive-img" alt="Js遗漏点">
                        
                        <span class="card-title">Js遗漏点</span>
                    </div>
                </a>
                <div class="card-content article-content">
                    <div class="summary block-with-text">
                        
                            基础
symbol数据类型：Symbol()函数会返回一个唯一的symbol，每个symbol值能作为对象属性的标识符。
无法通过typeof判断Array, Date的类型，因为返回的都是object
typeof null 的类型是ob
                        
                    </div>
                    <div class="publish-info">
                            <span class="publish-date">
                                <i class="far fa-clock fa-fw icon-date"></i>2020-09-18
                            </span>
                        <span class="publish-author">
                            
                            <i class="fas fa-bookmark fa-fw icon-category"></i>
                            
                            <a href="/blog/categories/%E5%89%8D%E7%AB%AF/" class="post-category">
                                    前端
                                </a>
                            
                            
                        </span>
                    </div>
                </div>
                
                <div class="card-action article-tags">
                    
                    <a href="/blog/tags/js/">
                        <span class="chip bg-color">js</span>
                    </a>
                    
                </div>
                
            </div>
        </div>
        
    </div>
</article>

</div>


<script>
    $('#articleContent').on('copy', function (e) {
        // IE8 or earlier browser is 'undefined'
        if (typeof window.getSelection === 'undefined') return;

        var selection = window.getSelection();
        // if the selection is short let's not annoy our users.
        if (('' + selection).length < Number.parseInt('500')) {
            return;
        }

        // create a div outside of the visible area and fill it with the selected text.
        var bodyElement = document.getElementsByTagName('body')[0];
        var newdiv = document.createElement('div');
        newdiv.style.position = 'absolute';
        newdiv.style.left = '-99999px';
        bodyElement.appendChild(newdiv);
        newdiv.appendChild(selection.getRangeAt(0).cloneContents());

        // we need a <pre> tag workaround.
        // otherwise the text inside "pre" loses all the line breaks!
        if (selection.getRangeAt(0).commonAncestorContainer.nodeName === 'PRE') {
            newdiv.innerHTML = "<pre>" + newdiv.innerHTML + "</pre>";
        }

        var url = document.location.href;
        newdiv.innerHTML += '<br />'
            + '来源: codeHose9<br />'
            + '文章作者: LanHuiYan<br />'
            + '文章链接: <a href="' + url + '">' + url + '</a><br />'
            + '本文章著作权归作者所有，任何形式的转载都请注明出处。';

        selection.selectAllChildren(newdiv);
        window.setTimeout(function () {bodyElement.removeChild(newdiv);}, 200);
    });
</script>


<!-- 代码块功能依赖 -->
<script type="text/javascript" src="/blog/libs/codeBlock/codeBlockFuction.js"></script>

<!-- 代码语言 -->

<script type="text/javascript" src="/blog/libs/codeBlock/codeLang.js"></script>


<!-- 代码块复制 -->

<script type="text/javascript" src="/blog/libs/codeBlock/codeCopy.js"></script>


<!-- 代码块收缩 -->

<script type="text/javascript" src="/blog/libs/codeBlock/codeShrink.js"></script>


<!-- 代码块折行 -->


    </div>
    <div id="toc-aside" class="expanded col l3 hide-on-med-and-down">
        <div class="toc-widget">
            <div class="toc-title"><i class="far fa-list-alt"></i>&nbsp;&nbsp;目录</div>
            <div id="toc-content"></div>
        </div>
    </div>
</div>

<!-- TOC 悬浮按钮. -->

<div id="floating-toc-btn" class="hide-on-med-and-down">
    <a class="btn-floating btn-large bg-color">
        <i class="fas fa-list-ul"></i>
    </a>
</div>


<script src="/blog/libs/tocbot/tocbot.min.js"></script>
<script>
    $(function () {
        tocbot.init({
            tocSelector: '#toc-content',
            contentSelector: '#articleContent',
            headingsOffset: -($(window).height() * 0.4 - 45),
            collapseDepth: Number('0'),
            headingSelector: 'h2, h3, h4'
        });

        // modify the toc link href to support Chinese.
        let i = 0;
        let tocHeading = 'toc-heading-';
        $('#toc-content a').each(function () {
            $(this).attr('href', '#' + tocHeading + (++i));
        });

        // modify the heading title id to support Chinese.
        i = 0;
        $('#articleContent').children('h2, h3, h4').each(function () {
            $(this).attr('id', tocHeading + (++i));
        });

        // Set scroll toc fixed.
        let tocHeight = parseInt($(window).height() * 0.4 - 64);
        let $tocWidget = $('.toc-widget');
        $(window).scroll(function () {
            let scroll = $(window).scrollTop();
            /* add post toc fixed. */
            if (scroll > tocHeight) {
                $tocWidget.addClass('toc-fixed');
            } else {
                $tocWidget.removeClass('toc-fixed');
            }
        });

        
        /* 修复文章卡片 div 的宽度. */
        let fixPostCardWidth = function (srcId, targetId) {
            let srcDiv = $('#' + srcId);
            if (srcDiv.length === 0) {
                return;
            }

            let w = srcDiv.width();
            if (w >= 450) {
                w = w + 21;
            } else if (w >= 350 && w < 450) {
                w = w + 18;
            } else if (w >= 300 && w < 350) {
                w = w + 16;
            } else {
                w = w + 14;
            }
            $('#' + targetId).width(w);
        };

        // 切换TOC目录展开收缩的相关操作.
        const expandedClass = 'expanded';
        let $tocAside = $('#toc-aside');
        let $mainContent = $('#main-content');
        $('#floating-toc-btn .btn-floating').click(function () {
            if ($tocAside.hasClass(expandedClass)) {
                $tocAside.removeClass(expandedClass).hide();
                $mainContent.removeClass('l9');
            } else {
                $tocAside.addClass(expandedClass).show();
                $mainContent.addClass('l9');
            }
            fixPostCardWidth('artDetail', 'prenext-posts');
        });
        
    });
</script>

    

</main>




    <footer class="page-footer bg-color">
    
        <link rel="stylesheet" href="/blog/libs/aplayer/APlayer.min.css">
<style>
    .aplayer .aplayer-lrc p {
        
        display: none;
        
        font-size: 12px;
        font-weight: 700;
        line-height: 16px !important;
    }

    .aplayer .aplayer-lrc p.aplayer-lrc-current {
        
        display: none;
        
        font-size: 15px;
        color: #42b983;
    }

    
    .aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
        left: -66px !important;
    }

    .aplayer.aplayer-fixed.aplayer-narrow .aplayer-body:hover {
        left: 0px !important;
    }

    
</style>
<div class="">
    
    <div class="row">
        <meting-js class="col l8 offset-l2 m10 offset-m1 s12"
                   server="netease"
                   type="playlist"
                   id="503838841"
                   fixed='true'
                   autoplay='true'
                   theme='#42b983'
                   loop='all'
                   order='random'
                   preload='auto'
                   volume='0.5'
                   list-folded='true'
        >
        </meting-js>
    </div>
</div>

<script src="/blog/libs/aplayer/APlayer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js"></script>

    
    <div class="container row center-align" style="margin-bottom: 15px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;&copy;
            <span id="year">2020</span>
            <a href="/blog/about" target="_blank">LanHuiYan</a>
            |&nbsp;Powered by&nbsp;<a href="https://hexo.io/" target="_blank">Hexo</a>
            |&nbsp;Theme&nbsp;<a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>
            <br>
            
            &nbsp;<i class="fas fa-chart-area"></i>&nbsp;站点总字数:&nbsp;<span
                class="white-color">42.8k</span>&nbsp;字
            
            
            
            
            
            
            <span id="busuanzi_container_site_pv">
                |&nbsp;<i class="far fa-eye"></i>&nbsp;总访问量:&nbsp;<span id="busuanzi_value_site_pv"
                    class="white-color"></span>&nbsp;次
            </span>
            
            
            <span id="busuanzi_container_site_uv">
                |&nbsp;<i class="fas fa-users"></i>&nbsp;总访问人数:&nbsp;<span id="busuanzi_value_site_uv"
                    class="white-color"></span>&nbsp;人
            </span>
            
            <br>
            
            <span id="sitetime">载入运行时间...</span>
            <script>
                function siteTime() {
                    var seconds = 1000;
                    var minutes = seconds * 60;
                    var hours = minutes * 60;
                    var days = hours * 24;
                    var years = days * 365;
                    var today = new Date();
                    var startYear = "2020";
                    var startMonth = "6";
                    var startDate = "16";
                    var startHour = "0";
                    var startMinute = "0";
                    var startSecond = "0";
                    var todayYear = today.getFullYear();
                    var todayMonth = today.getMonth() + 1;
                    var todayDate = today.getDate();
                    var todayHour = today.getHours();
                    var todayMinute = today.getMinutes();
                    var todaySecond = today.getSeconds();
                    var t1 = Date.UTC(startYear, startMonth, startDate, startHour, startMinute, startSecond);
                    var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond);
                    var diff = t2 - t1;
                    var diffYears = Math.floor(diff / years);
                    var diffDays = Math.floor((diff / days) - diffYears * 365);
                    var diffHours = Math.floor((diff - (diffYears * 365 + diffDays) * days) / hours);
                    var diffMinutes = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours) /
                        minutes);
                    var diffSeconds = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours -
                        diffMinutes * minutes) / seconds);
                    if (startYear == todayYear) {
                        document.getElementById("year").innerHTML = todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffDays + " 天 " + diffHours +
                            " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    } else {
                        document.getElementById("year").innerHTML = startYear + " - " + todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffYears + " 年 " + diffDays +
                            " 天 " + diffHours + " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    }
                }
                setInterval(siteTime, 1000);
            </script>
            
            <br>
            
            <span id="icp"><img src="/blog/medias/icp.png" style="vertical-align: text-bottom;" />
                <a href="http://www.beian.miit.gov.cn/" target="_blank">备案信息：赣ICP备20200706号-1</a>
            </span>
            
        </div>
        <div class="col s12 m4 l4 social-link social-statis">
    <a href="https://github.com/codeHouse9/codeHouse9.github.io" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="mailto:3295849115@qq.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">
        <i class="fas fa-envelope-open"></i>
    </a>







    <a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=3295849115" class="tooltipped" target="_blank" data-tooltip="QQ联系我: 3295849115" data-position="top" data-delay="50">
        <i class="fab fa-qq"></i>
    </a>





    <a href="https://www.zhihu.com/people/wei-mi-de-xia-tian/asks" class="tooltipped" target="_blank" data-tooltip="关注我的知乎: https://www.zhihu.com/people/wei-mi-de-xia-tian/asks" data-position="top" data-delay="50">
        <i class="fab fa-zhihu1">知</i>
    </a>

<!-- 

    <a href="/blog/atom.xml" class="tooltipped" target="_blank" data-tooltip="RSS 订阅" data-position="top" data-delay="50">
        <i class="fas fa-rss"></i>
    </a>
 -->
</div>
    </div>
</footer>

<div class="progress-bar"></div>


    <!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
                   class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script src="/blog/js/search.js"></script>
<script type="text/javascript">
$(function () {
    searchFunc("/blog/search.xml", 'searchInput', 'searchResult');
});
</script>

    <!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fas fa-arrow-up"></i>
    </a>
</div>


    <script src="/blog/libs/materialize/materialize.min.js"></script>
    <script src="/blog/libs/masonry/masonry.pkgd.min.js"></script>
    <script src="/blog/libs/aos/aos.js"></script>
    <script src="/blog/libs/scrollprogress/scrollProgress.min.js"></script>
    <script src="/blog/libs/lightGallery/js/lightgallery-all.min.js"></script>
    <script src="/blog/js/matery.js"></script>

    <!-- Baidu Analytics -->

    <!-- Baidu Push -->

<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

    
    <script src="/blog/libs/others/clicklove.js" async="async"></script>
    
    
    <script async src="/blog/libs/others/busuanzi.pure.mini.js"></script>
    

    

    

    
    <script type="text/javascript" color="0,0,255"
        pointColor="0,0,255" opacity='0.7'
        zIndex="-1" count="66"
        src="/blog/libs/background/canvas-nest.js"></script>
    

    
    
    <script type="text/javascript" size="150" alpha='0.6'
        zIndex="-1" src="/blog/libs/background/ribbon-refresh.min.js" async="async"></script>
    

    
    <script type="text/javascript" src="/blog/libs/background/ribbon-dynamic.js" async="async"></script>
    

    
    <script src="/blog/libs/instantpage/instantpage.js" type="module"></script>
    

<script src="/blog/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"scale":1,"hHeadPos":0.5,"vHeadPos":0.618,"jsonPath":"/blog/live2dw/assets/shizuku.model.json"},"display":{"superSample":2,"width":150,"height":320,"position":"right","hOffset":50,"vOffset":-20},"mobile":{"show":false,"scale":0.8},"react":{"opacityDefault":0.7,"opacityOnHover":0.5},"log":false});</script></body>

</html>
